#ifndef APPCMD_H
#define APPCMD_H

#include "stdbool.h"

/************************************************
* Declaration
************************************************/

#define MAX_SIZE_OF_RECEIVE_STR 60
#define CMD_ENABLE_PASSWORD "enable cmd"

typedef  int (*AppCmdHandler)(const char* cmd, char* params[], int param_size);

typedef struct  
{
    const char *command;
    AppCmdHandler handler;
    const char *description;
}AppCmdInfo;


void app_cmd_init( void );
bool app_cmd_on_get_byte(char ch);

#endif
